
#ifndef GOMOKU_UI_WINDOW_HPP
# define GOMOKU_UI_WINDOW_HPP

# include <SFML/Graphics.hpp>

# include "Grid.hpp"

namespace Gomoku
{
	namespace UI
	{
		class Window
		{
		public:
			Window(unsigned int width = 800, unsigned int height = 600);
			virtual ~Window();

			bool isOpened() const;
			void refresh();
			void getEvent();
			
		private:
			unsigned int _width;
			unsigned int _height;
			sf::RenderWindow _sfWindow;
			Grid _grid;
			bool _isOpened;
		};
	}
}

#endif // GOMOKU_UI_WINDOW_HPP